package org.alex.samples.model;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class ExamUserVO {
	private String userId;
	private Integer roleId;
	private String userName;
	private String password;
	private String tel;
	private String email;
	private String address;
	private Date birthday;
	private int gender;
	//private Date lastLockTime;
	private Timestamp lastLockTime;	
	private int loginFailCount;
	private Set<ExamSubject> examSubject=new HashSet<ExamSubject>();
	private Set<ExamRole> examRole =new HashSet<ExamRole>();
	
	
	
	
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Set<ExamSubject> getExamSubject() {
		return examSubject;
	}
	public void setExamSubject(Set<ExamSubject> examSubject) {
		this.examSubject = examSubject;
	}
	public Set<ExamRole> getExamRole() {
		return examRole;
	}
	public void setExamRole(Set<ExamRole> examRole) {
		this.examRole = examRole;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
		
    public Timestamp getLastLockTime() {
		return lastLockTime;
	}
	public void setLastLockTime(Timestamp lastLockTime) {
		this.lastLockTime = lastLockTime;
	}
	
//	public Date getLastLockTime() {
//		return lastLockTime;
//	}
//	public void setLastLockTime(Date lastLockTime) {
//		this.lastLockTime = lastLockTime;
//	}
	public int getLoginFailCount() {
		return loginFailCount;
	}
	public void setLoginFailCount(int loginFailCount) {
		this.loginFailCount = loginFailCount;
	}
	
	
}
